package MultiversalEquality

import scala.language.strictEquality

def test: Unit =
  given CanEqual[Int, String] = CanEqual.derived
  println(3 == "3")

  println(3 == 5.1)

  println(List(1, 2) == Vector(1, 2))

  class A(a: Int)
  class B(b: Int)

  val a = A(4)
  val b = B(4)

  given CanEqual[A, B] = CanEqual.derived
  given CanEqual[B, A] = CanEqual.derived
  
  println(a != b)
  println(b == a)